<template>
  <Swiper style="margin-top: 44px">
    <SwiperItem v-for="item in banners" :key="item.link">
      <a :href="item.link">
        <img :src="item.image" />
      </a>
    </SwiperItem>
  </Swiper>
</template>

<script>
import { Swiper, SwiperItem } from '../../../components/swiper/index.js'

export default {
  props: ['banners'],
  components: {
    Swiper,
    SwiperItem
  }
}
</script>

<style></style>
